﻿
namespace GCDHelper
{
    /// <summary>
    /// gcd字段
    /// </summary>
    public class GcdItem
    {
        /// <summary>
        /// 字段名称
        /// </summary>
        public string ItemName = "";
        /// <summary>
        /// 字段类型
        /// </summary>
        public EnumGcdItemType ItemType = EnumGcdItemType.Unknown;
        /// <summary>
        /// 字段宽度
        /// </summary>
        public int ItemWidth = 0;
        /// <summary>
        /// 小数位数
        /// </summary>
        public int ItemPrecition = 0;
        /// <summary>
        /// 是否允许为空
        /// </summary>
        public bool ItemIsNullable = false;
        /// <summary>
        /// 值域
        /// </summary>
        public string ItemDomain = "";
        /// <summary>
        /// 约束条件
        /// </summary>
        public string ItemRestrictionCondition = "";
        /// <summary>
        /// 是否实时提示
        /// </summary>
        public bool ItemRealTimeShow = false;
        /// <summary>
        /// 字段描述
        /// </summary>
        public string ItemDescription = "";
    }
}
